<?php
/**
 * 后台manager配置管理用户组权限
 * @author Administrator
 */
class AuthorizationAction extends ManagerBaseAction {
	public function index(){
		$Node = M('node');
		$field = "* , CONCAT(path_id,'-',id) as path";
		$order = "path";
		$node_list = $Node->field($field)->order($order)->select();
		$this->assign('list',$node_list);
		$this->display();
	}
	public function update(){
		
	}
	/**
	 * 自动更新
	 * 
	 */
	public function autoUpdate(){
		foreach(glob('E:\Work Space\travel\Lib\Action\Manager\*.php') as $v){
			$file_arr =  explode("\\", $v);
			$file_name = array_pop($file_arr);
			$file_arr = explode(".", $file_name);
			$class_name = array_shift($file_arr);
			include_once($v);
			dump(get_class_methods($class_name));
			
			
			
			//echo $class_name.'<br/>';
		}
		
		
		

	}
}

?>